Joakim Verona [Fri, 28 Dec 2012 04:01:17 +0000 (05:01 +0100)]
auto upstream
Daiki Ueno [Fri, 28 Dec 2012 03:51:20 +0000 (12:51 +0900)]
epg: Support pinentry-curses
Joakim Verona [Fri, 28 Dec 2012 03:21:23 +0000 (04:21 +0100)]
auto upstream
Paul Eggert [Fri, 28 Dec 2012 03:13:47 +0000 (19:13 -0800)]
Port EXTERNALLY_VISIBLE to Clang 3.2.
* conf_post.h (__has_attribute): New macro.
(EXTERNALLY_VISIBLE): Use it. This ports to Clang 3.2.
Joakim Verona [Thu, 27 Dec 2012 23:02:07 +0000 (00:02 +0100)]
auto upstream
Wolfgang Jenkner [Thu, 27 Dec 2012 22:51:46 +0000 (22:51 +0000)]
Gnus: Avoid `Invalid face reference: nil' messages
Joakim Verona [Thu, 27 Dec 2012 20:51:28 +0000 (21:51 +0100)]
auto upstream
Juri Linkov [Thu, 27 Dec 2012 20:42:02 +0000 (22:42 +0200)]
* lisp/info.el (Info-file-completions): New variable.
(Info-read-node-name-1): Complete node names in the Info file
when a file name is given. Call `Info-build-node-completions'
with a file name.
(Info-build-node-completions): Add new arg `file'. When it is
non-nil, visit it in a temporary buffer and cache its completions in
`Info-current-file-completions'. Move most of the function body to
`Info-build-node-completions-1'.
(Info-build-node-completions-1): New function with the body from
`Info-build-node-completions'.
Fixes: debbugs:12456
Joakim Verona [Thu, 27 Dec 2012 20:16:59 +0000 (21:16 +0100)]
auto upstream
Juri Linkov [Thu, 27 Dec 2012 20:09:45 +0000 (22:09 +0200)]
* lisp/frame.el (frame-maximization-style): Remove user option.
(cycle-frame-maximized): Remove function.
(toggle-frame-maximized): Rewrite and bind to M-<f10>.
(toggle-frame-fullscreen): New command bound to <f11> instead of
`toggle-frame-maximized'.
http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
Joakim Verona [Thu, 27 Dec 2012 20:07:34 +0000 (21:07 +0100)]
auto upstream
Sam Steingold [Thu, 27 Dec 2012 19:58:04 +0000 (14:58 -0500)]
fix last patch
Joakim Verona [Thu, 27 Dec 2012 19:11:46 +0000 (20:11 +0100)]
auto upstream
Michael Albinus [Thu, 27 Dec 2012 19:00:57 +0000 (20:00 +0100)]
* net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
* net/tramp-adb.el (tramp-adb-file-name-handler-alist):
* net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
* net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
for `file-accessible-directory-p'. (Bug#13275)
Joakim Verona [Thu, 27 Dec 2012 18:07:09 +0000 (19:07 +0100)]
auto upstream
Glenn Morris [Thu, 27 Dec 2012 17:59:21 +0000 (09:59 -0800)]
configure.ac fix for double quotes in configure command-line
* configure.ac (emacs_config_options): New.
Use $@ rather than undocumented $ac_configure_args.
Replace any embedded double quotes.
Fixes: debbugs:13274
Joakim Verona [Thu, 27 Dec 2012 16:42:06 +0000 (17:42 +0100)]
auto upstream
Sam Steingold [Thu, 27 Dec 2012 16:33:06 +0000 (11:33 -0500)]
* lisp/progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
continuations, see <http://stackoverflow.com/questions/
3582436>.
Joakim Verona [Thu, 27 Dec 2012 15:06:54 +0000 (16:06 +0100)]
auto upstream
Lars Ingebrigtsen [Thu, 27 Dec 2012 14:58:36 +0000 (14:58 +0000)]
lisp/gnus/gnus-msg.el (gnus-summary-resend-message): Don't bug out on non-string posting styles (bug#13285)
Joakim Verona [Thu, 27 Dec 2012 14:51:22 +0000 (15:51 +0100)]
auto upstream
Andreas Schwab [Thu, 27 Dec 2012 14:44:01 +0000 (14:44 +0000)]
lisp/gnus/mml2015.el (mml2015-epg-key-image): separate attribute stream from stderr
Joakim Verona [Thu, 27 Dec 2012 11:26:22 +0000 (12:26 +0100)]
auto upstream
Glenn Morris [Thu, 27 Dec 2012 11:17:38 +0000 (06:17 -0500)]
Auto-commit of generated files.
Joakim Verona [Thu, 27 Dec 2012 08:31:53 +0000 (09:31 +0100)]
auto upstream
Glenn Morris [Thu, 27 Dec 2012 08:21:08 +0000 (00:21 -0800)]
Merge from emacs-24; up to 2012-12-03T21:07:47Z!eggert@cs.ucla.edu
Glenn Morris [Thu, 27 Dec 2012 08:11:33 +0000 (00:11 -0800)]
* plstore.el (plstore-passphrase-callback-function): Fix file/buffer typo.
Fixes: debbugs:13264
Glenn Morris [Thu, 27 Dec 2012 07:55:14 +0000 (23:55 -0800)]
Document cygwin-convert-file-name-{to|from}-windows
* doc/lispref/files.texi (File Names): Mention Cygwin conversion functions.
* src/cygw32.c (Fcygwin_convert_file_name_to_windows)
(Fcygwin_convert_file_name_from_windows): Doc fixes.
* etc/NEWS: Related markup.
Joakim Verona [Thu, 27 Dec 2012 07:41:41 +0000 (08:41 +0100)]
auto upstream
Vitalie Spinu [Thu, 27 Dec 2012 07:33:47 +0000 (08:33 +0100)]
Cleanup comint-postoutput-scroll-to-bottom (Bug#13248).
* comint.el (comint-adjust-window-point): New function.
(comint-postoutput-scroll-to-bottom): Call
comint-adjust-window-point (Bug#13248).
Joakim Verona [Wed, 26 Dec 2012 22:41:16 +0000 (23:41 +0100)]
auto upstream
Gnus developers [Wed, 26 Dec 2012 22:30:58 +0000 (22:30 +0000)]
Merge changes made in Gnus master
2012-12-26 Katsumi Yamaoka <yamaoka@jpl.org>
* mml2015.el (mml2015-epg-key-image): Use mm-set-buffer-multibyte.
2012-12-25 Adam Sjøgren <asjo@koldfront.dk>
* mml2015.el (mml2015-epg-key-image): use --attribute-fd rather than
temporary file to get PGP key image. Pass no-show-photos when extracting
image to avoid having it pop up twice.
2012-12-26 Lars Ingebrigtsen <larsi@gnus.org>
* gnus-art.el (gnus-article-treat-types): Include text/html as parts
eligible for treatment.
Joakim Verona [Wed, 26 Dec 2012 20:01:32 +0000 (21:01 +0100)]
auto upstream
Dmitry Gutov [Wed, 26 Dec 2012 19:52:56 +0000 (23:52 +0400)]
* lisp/progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
Rakefile regexp.
(auto-mode-alist): Associate .gemspec files with ruby-mode
(https://bugs.ruby-lang.org/issues/5453).
Dmitry Gutov [Wed, 26 Dec 2012 16:45:19 +0000 (20:45 +0400)]
* lisp/progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
"module" and "def" to have indentation before them. Regression
from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
* test/automated/ruby-mode-tests.el
(ruby-indent-after-block-in-continued-expression): New test.
Joakim Verona [Wed, 26 Dec 2012 16:32:02 +0000 (17:32 +0100)]
auto upstream
Jürgen Hötzel [Wed, 26 Dec 2012 16:22:18 +0000 (17:22 +0100)]
* net/tramp-adb.el (tramp-adb-get-ls-command): New defun. Suppress
coloring, if possible (required for BusyBox based systems like
CynagenMod).
(tramp-adb-handle-file-attributes)
(tramp-adb-handle-insert-directory)
(tramp-adb-handle-file-name-all-completions): Use it.
(tramp-adb-get-toolbox): New defun. Check for remote shell
implementation (BusyBox or Toolbox).
Joakim Verona [Wed, 26 Dec 2012 15:51:58 +0000 (16:51 +0100)]
auto upstream
Dmitry Antipov [Wed, 26 Dec 2012 15:46:51 +0000 (19:46 +0400)]
* print.c (print_object): Fix last change.
Dmitry Antipov [Wed, 26 Dec 2012 15:40:19 +0000 (19:40 +0400)]
* print.c (print_object): If Lisp_Save_Value object's pointer
is the address of a memory area containing Lisp_Objects, try
to print them.
* alloc.c (valid_lisp_object_p): Adjust comment.
Joakim Verona [Wed, 26 Dec 2012 14:16:41 +0000 (15:16 +0100)]
auto upstream
Dmitry Antipov [Wed, 26 Dec 2012 14:10:11 +0000 (18:10 +0400)]
* lisp.h (toplevel): Add two notices to the comment about
defining a new Lisp data type.
Joakim Verona [Wed, 26 Dec 2012 14:06:43 +0000 (15:06 +0100)]
auto upstream
Lars Ingebrigtsen [Wed, 26 Dec 2012 13:58:54 +0000 (13:58 +0000)]
Merge changes made in Gnus master
gnus-util.el (gnus-goto-colon): Move to the beginning of the visual
lines. This makes summary commands with hidden threads work more
reliably.
gnus-cite.el (gnus-article-hide-citation-maybe): Leave an expansion
button to mark the hidden citations (bug#9395).
Joakim Verona [Wed, 26 Dec 2012 11:26:14 +0000 (12:26 +0100)]
auto upstream
Glenn Morris [Wed, 26 Dec 2012 11:17:38 +0000 (06:17 -0500)]
Auto-commit of generated files.
Joakim Verona [Wed, 26 Dec 2012 09:46:21 +0000 (10:46 +0100)]
auto upstream
Dmitry Antipov [Wed, 26 Dec 2012 09:40:45 +0000 (13:40 +0400)]
* keyboard.c (record_asynch_buffer_change): Initialize an event
only if it's really needed.
* frame.h (enum output_method): Remove output_mac member since
it's a leftover from the deleted code.
* frame.c (Fframep): Adjust user here ...
* terminal.c (Fterminal_live_p): ... and here.
* coding.c (Qmac): Now here because it's only used to denote
end-of-line encoding type.
(syms_of_coding): DEFSYM it.
* frame.h (Qmac): Remove duplicated declaration.
Joakim Verona [Wed, 26 Dec 2012 05:51:30 +0000 (06:51 +0100)]
auto upstream
Paul Eggert [Wed, 26 Dec 2012 05:41:42 +0000 (21:41 -0800)]
Revert static checking of stack smashing.
* configure.ac (WARN_CFLAGS): Omit -Wstack-protector when
configured with --enable-gcc-warnings. -Wstack-protector causes
diagnostics to be issued on Ubuntu 12.10 x86-64.
Joakim Verona [Wed, 26 Dec 2012 04:31:26 +0000 (05:31 +0100)]
auto upstream
Daiki Ueno [Wed, 26 Dec 2012 04:20:21 +0000 (13:20 +0900)]
Move photo ID display code from epg.el to gnus/mml2015.el.
2012-12-26 Daiki Ueno <ueno@gnu.org>
* mml2015.el (mml2015-epg-signature-to-string): New function.
(mml2015-epg-verify-result-to-string): New function.
(mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-verify)
(mml2015-epg-clear-verify): Use mml2015-epg-verify-result-to-string
instead of epg-verify-result-to-string.
(epg-signature-key-id, epg-signature-to-string): Autoload.
(epg-verify-result-to-string): Remove autoload.
2012-12-25 Adam Sjøgren <asjo@koldfront.dk>
* mml2015.el (mml2015-epg-key-image): New function, to retrieve photo
ID image from GPG public key.
(mml2015-epg-key-image-to-string): New function.
Joakim Verona [Wed, 26 Dec 2012 02:51:21 +0000 (03:51 +0100)]
auto upstream
Paul Eggert [Wed, 26 Dec 2012 02:45:43 +0000 (18:45 -0800)]
* window.c (select_window_1): Now static.
Joakim Verona [Tue, 25 Dec 2012 23:46:27 +0000 (00:46 +0100)]
auto upstream
Katsumi Yamaoka [Tue, 25 Dec 2012 23:38:16 +0000 (23:38 +0000)]
lisp/gnus/ChangeLog: Fix wrongly adjusted dates
Joakim Verona [Tue, 25 Dec 2012 22:56:36 +0000 (23:56 +0100)]
auto upstream
Adam Sjøgren [Tue, 25 Dec 2012 22:49:35 +0000 (23:49 +0100)]
Display images from gpg signatures
* epg.el (epg-signature-to-string): Use new functions
epg-key-image, epg-key-image-to-string to find and display image
from key.
Joakim Verona [Tue, 25 Dec 2012 22:31:27 +0000 (23:31 +0100)]
auto upstream
Leo Liu [Tue, 25 Dec 2012 22:23:10 +0000 (22:23 +0000)]
lisp/gnus/plstore.el (plstore-passphrase-callback-function): Fix error when
error when plstore-cache-passphrase-for-symmetric-encryption is set
(bug#13264).
Joakim Verona [Tue, 25 Dec 2012 22:21:40 +0000 (23:21 +0100)]
auto upstream
Gnus developers [Tue, 25 Dec 2012 22:12:59 +0000 (22:12 +0000)]
Merge changes made in Gnus master
2012-12-25 Lars Ingebrigtsen <larsi@gnus.org>
* gnus-sum.el (gnus-set-global-variables): Don't copy over the summary
buffer to the article buffer here, because that clobbers multiple
article buffers.
* gnus-art.el (gnus-article-setup-buffer): Make sure that the article
buffer always points to the right summary buffer.
2012-12-25 John Wiegley <jwiegley@gmail.com>
* auth-source.el (auth-source-netrc-parse): Allow using "password" as
the password (bug#12097).
2012-12-25 Lars Ingebrigtsen <larsi@gnus.org>
* shr.el (shr-tag-a): Don't tagify <A> elements that don't have HREFs
(bug#13263).
* gnus-salt.el (gnus-highlight-selected-tree): Check whether the Tree
buffer exists before using it (bug#12475).
* gnus-agent.el (gnus-agent-fetch-articles): Don't fetch articles from
offline groups (bug#11937).
* message.el (message-yank-original): When using customize to set the
value of `message-cite-style', the variable it set to a symbol that's
the name of the variable, which must then be dereferenced (bug#12616).
2012-09-13 Wolfgang Jenkner <wjenkner@inode.at>
* lisp/gnus-spec.el (gnus-face-face-function): Initialize the value of
the `face' property with a list whose car is the face specified in the
format string and whose cdr is (nil).
* lisp/gnus-util.el
(gnus-put-text-property-excluding-characters-with-faces): Change
accordingly.
(gnus-get-text-property-excluding-characters-with-faces): New function.
* lisp/gnus-sum.el (gnus-summary-highlight-line):
* lisp/gnus-salt.el (gnus-tree-highlight-node):
* lisp/gnus-group.el (gnus-group-highlight-line): Use it.
Joakim Verona [Tue, 25 Dec 2012 17:46:41 +0000 (18:46 +0100)]
auto upstream
Eli Zaretskii [Tue, 25 Dec 2012 17:37:29 +0000 (19:37 +0200)]
Fix window-body-width on text terminals.
src/window.c (window_body_cols): Subtract display margins from the
window body width on TTYs as well. See
http://lists.gnu.org/archive/html/help-gnu-emacs/2012-12/msg00317.html
for the original report.
Joakim Verona [Tue, 25 Dec 2012 17:21:29 +0000 (18:21 +0100)]
auto upstream
Eli Zaretskii [Tue, 25 Dec 2012 17:14:23 +0000 (19:14 +0200)]
Avoid compiler warnings in w32.c:acl_to_text.
Joakim Verona [Tue, 25 Dec 2012 15:17:03 +0000 (16:17 +0100)]
auto upstream
Dmitry Antipov [Tue, 25 Dec 2012 15:07:59 +0000 (19:07 +0400)]
* xterm.h (struct x_output): Remove toolbar_detached member since it's
set but never used.
* gtkutil.c (xg_tool_bar_detach_callback, xg_tool_bar_attach_callback)
(xg_create_tool_bar): Adjust users.
Joakim Verona [Tue, 25 Dec 2012 12:07:16 +0000 (13:07 +0100)]
auto upstream
Lars Ingebrigtsen [Tue, 25 Dec 2012 12:00:26 +0000 (12:00 +0000)]
Merge changes made in Gnus master
nnimap.el (nnimap-authenticator): Expand to allow specifying the
login methods.
(nnimap-login): Respect the `nnimap-authenticator' variable.
gnus-sum.el (gnus-summary-push-marks-to-backend): Push the complete
mark state when moving articles. Otherwise unticked articles will get
their ticks back after moving.
gnus.texi (Customizing the IMAP Connection): Mention the other
authenticators.
Joakim Verona [Tue, 25 Dec 2012 11:46:23 +0000 (12:46 +0100)]
auto upstream
Dmitry Antipov [Tue, 25 Dec 2012 11:37:21 +0000 (15:37 +0400)]
* xdisp.c (redisplay_window): Remove inner local variable
because the outer shadowed one has the same meaning.
Joakim Verona [Mon, 24 Dec 2012 23:06:10 +0000 (00:06 +0100)]
auto upstream
Lars Ingebrigtsen [Mon, 24 Dec 2012 22:56:47 +0000 (22:56 +0000)]
Merge changes made in Gnus master
gnus-srvr.el (gnus-browse-delete-group): Fix syntax error.
message.el (message-ignored-news-headers): Always remove
X-Message-SMTP-Method to avoid information leakage if the user
mistakenly inserts the header into news messages.
gnus-srvr.el (gnus-browse-delete-group): New command and keystroke.
gnus-sum.el (gnus-summary-hide-thread): If point were further to the
right than four characters, this command would move point to
`point-max'. Don't do that.
gnus-group.el (gnus-group-read-ephemeral-group): Set the active data
to nil to allow re-selecting groups that gain articles.
(gnus-bug-group-download-format-alist): Update the URL.
gnus.texi (Browse Foreign Server): Document `gnus-browse-delete-group'.
Joakim Verona [Mon, 24 Dec 2012 17:56:17 +0000 (18:56 +0100)]
auto upstream
Constantin Kulikov [Mon, 24 Dec 2012 17:49:19 +0000 (18:49 +0100)]
Allow function as value of initial-buffer-choice (Bug#13251).
* startup.el (initial-buffer-choice): Allow function as value
(Bug#13251).
(command-line-1): Handle case where initial-buffer-choice
specifies a function.
* server.el (server-execute): Handle case where
initial-buffer-choice specifies a function.
Eli Zaretskii [Mon, 24 Dec 2012 16:15:13 +0000 (18:15 +0200)]
Fix bug #13262 with crashes in completion on MS-Windows with non-ASCII filenames.
src/fileio.c (file_name_as_directory, directory_file_name): Accept
an additional argument MULTIBYTE to indicate whether the input C
came from a multibyte or a unibyte Lisp string; all callers
adjusted. Don't assume the input string is always multibyte.
(Ffile_name_directory) [DOS_NT]: Handle unibyte strings correctly:
don't ENCODE_FILE them, and return a unibyte string if the input
was unibyte.
(Fexpand_file_name): Don't mix unibyte with multibyte strings, and
don't assume the input strings will always be multibyte. If the
input strings are multibyte, decode strings obtained from C
library functions.
Joakim Verona [Mon, 24 Dec 2012 16:06:23 +0000 (17:06 +0100)]
auto upstream
Andreas Schwab [Mon, 24 Dec 2012 16:03:39 +0000 (17:03 +0100)]
* nnimap.el (nnimap-find-article-by-message-id): Don't error out if
group is nil.
Eli Zaretskii [Mon, 24 Dec 2012 15:56:17 +0000 (17:56 +0200)]
Fix the MS-Windows build.
nt/inc/sys/stat.h (S_ISMPX): Define to zero, to accommodate changes
in lib/filemode.c that broke the MS-Windows build.
Suggested by Andy Moreton <andrewjmoreton@gmail.com>.
Joakim Verona [Mon, 24 Dec 2012 13:35:58 +0000 (14:35 +0100)]
auto upstream
Lars Ingebrigtsen [Mon, 24 Dec 2012 13:28:39 +0000 (13:28 +0000)]
lisp/gnus/gnus-int.el (gnus-backend-trace): Also note the elapsed seconds
Joakim Verona [Mon, 24 Dec 2012 12:30:57 +0000 (13:30 +0100)]
auto upstream
Dmitry Antipov [Mon, 24 Dec 2012 12:21:42 +0000 (16:21 +0400)]
* buffer.c (Fset_buffer_modified_p): Use buffer_window_count
to check whether the buffer is displayed in some window.
* xdisp.c (message_dolog): Likewise.
Joakim Verona [Mon, 24 Dec 2012 12:20:56 +0000 (13:20 +0100)]
auto upstream
Glenn Morris [Mon, 24 Dec 2012 12:17:31 +0000 (07:17 -0500)]
Auto-commit of generated files.
Lars Ingebrigtsen [Mon, 24 Dec 2012 12:14:04 +0000 (13:14 +0100)]
Make smtpmail forget the password if the server says it's invalid
* mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
its own function.
(smtpmail-try-auth-methods): Forget the user name/password if the
login is unsuccessful.
Fixes: debbugs:12424
Joakim Verona [Mon, 24 Dec 2012 11:50:52 +0000 (12:50 +0100)]
auto upstream
Dmitry Antipov [Mon, 24 Dec 2012 11:41:28 +0000 (15:41 +0400)]
* buffer.h (BUF_COMPACT): New macro to follow the common style.
* buffer.c (Fget_buffer_create): Use it to set compact field of
struct buffer_text to avoid accessing an uninitialized value
when compact_buffer is called for the first time.
(compact_buffer): Use convenient BUF_COMPACT and BUF_MODIFF.
Joakim Verona [Mon, 24 Dec 2012 11:25:53 +0000 (12:25 +0100)]
auto upstream
Glenn Morris [Mon, 24 Dec 2012 11:17:34 +0000 (06:17 -0500)]
Auto-commit of generated files.
Andreas Schwab [Mon, 24 Dec 2012 10:26:35 +0000 (11:26 +0100)]
Fixes: debbugs:13222
* configure.ac (SIGNALS_VIA_CHARACTERS): Also define for darwin.
Dmitry Gutov [Mon, 24 Dec 2012 07:14:49 +0000 (11:14 +0400)]
* lisp/progmodes/ruby-mode.el: Bump the version to 1.2.
Fixes: debbugs:13200
Joakim Verona [Mon, 24 Dec 2012 06:31:23 +0000 (07:31 +0100)]
auto upstream
Paul Eggert [Mon, 24 Dec 2012 06:24:08 +0000 (22:24 -0800)]
Merge from gnulib.
Joakim Verona [Mon, 24 Dec 2012 04:31:19 +0000 (05:31 +0100)]
auto upstream
Andreas Schwab [Mon, 24 Dec 2012 04:21:58 +0000 (04:21 +0000)]
lisp/gnus/shr.el (shr-tag-em): Render em as italic, not bold
Andreas Schwab [Sun, 23 Dec 2012 17:43:34 +0000 (18:43 +0100)]
shr: render <em> as italic, not bold
Joakim Verona [Sun, 23 Dec 2012 17:26:43 +0000 (18:26 +0100)]
auto upstream
Eli Zaretskii [Sun, 23 Dec 2012 17:16:33 +0000 (19:16 +0200)]
Don't fail in acl_set_file on MS-Windows if the operation is a no-op.
src/w32.c (acl_set_file): If setting the file security descriptor
fails, and the new DACL is identical to the existing one, silently
return success. This fixes problems for users backing up their
own files without having the necessary privileges for setting
security descriptors.